import request from '@/utils/request'

// 登录
export const loginApi = (data) =>
  request({
    url: '/frame/login',
    method: 'POST',
    data
  })

// 用户资料
export const getUserInfoApi = () => {
  return request({
    url: '/frame/profile',
    method: 'POST'
  })
}
